import request from '@/utils/request'

// 查询劳动等级配置列表
export function listProlddj(query) {
  return request({
    url: '/project/prolddj/list',
    method: 'get',
    params: query
  })
}

// 查询劳动等级配置详细
export function getProlddj(id) {
  return request({
    url: '/project/prolddj/' + id,
    method: 'get'
  })
}

// 新增劳动等级配置
export function addProlddj(data) {
  return request({
    url: '/project/prolddj',
    method: 'post',
    data: data
  })
}

// 修改劳动等级配置
export function updateProlddj(data) {
  return request({
    url: '/project/prolddj',
    method: 'put',
    data: data
  })
}

// 删除劳动等级配置
export function delProlddj(id) {
  return request({
    url: '/project/prolddj/' + id,
    method: 'delete'
  })
}
